﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoBackupDatabase.DAL;
using AutoBackupDatabase.ENT;
using System.Data;
namespace AutoBackupDatabase.BLL
{
   public class GROUPROLEBLL
    {
       private GROUPROLEDAL DAL;
       public GROUPROLEBLL()
       {
           DAL = new GROUPROLEDAL();
       }

       public List<GROUPROLEENT> GET_GROUPROLE_ALL()
       {
           return DAL.GET_GROUPROLE_ALL();

       }
       public bool INSERTGROUPROLE(GROUPROLEENT ent)
       {

           return DAL.INSERTGROUPROLE(ent);

       }
       public bool UPDATEGROUPROLEBYGROUPROLEID(GROUPROLEENT ent)
       {

           return DAL.UPDATEGROUPROLEBYGROUPROLEID(ent);

       }
       public bool DELTELEGROUPROLEBYGROUPROLEID(GROUPROLEENT ent)
       {

           return DAL.DELTELEGROUPROLEBYGROUPROLEID(ent);

       }
    }
}
